<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Hardware Abstraction Layer (HAL)</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Hardware Abstraction Layer (HAL)</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group__hal__impl__clock.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">API Reference</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">Clocks<div class="ingroups"><a class="el" href="group__group__hal__impl.html">CAT1 Implementation Specific</a></div></div></div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p >Implementation specific interface for using the Clock driver. </p>
<p >These items, while usable within the HAL, are <b>not</b> necessarily portable between devices. The diagrams below show how the clocks relate to each other. This is a superset of what is available. See the device specific Data Sheet for the exact set of clocks that are available on a specific device. </p>
<h1><a class="anchor" id="section_clock_snippets_impl"></a>
Code snippets</h1>
<dl class="section note"><dt>Note</dt><dd>Error handling code has been intentionally left out of snippets to highlight API usage.</dd></dl>
<h2><a class="anchor" id="subsection_clock_snippet_5_impl"></a>
Snippet: System initialization</h2>
<p >The following snippet shows the clock driver can be used to initialize all clocks in the system. </p><dl class="section note"><dt>Note</dt><dd>This example is device specific. <div class="fragment"><div class="line">    <a class="code hl_typedef" href="group__group__result.html#gaca79700fcc701534ce61778a9bcf57d1">cy_rslt_t</a>       rslt;</div>
<div class="line">    <a class="code hl_struct" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>   clock_path, clock_pll, clock_hf;</div>
<div class="line">    <a class="code hl_struct" href="group__group__hal__impl__hw__types.html#structcyhal__usb__dev__t">cyhal_usb_dev_t</a> usb_obj;</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Initialize the PathMux[1] to source from the IMO</span></div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#ga6e284be927d4b576585846848a036f21">cyhal_clock_reserve</a>(&amp;clock_path, &amp;CYHAL_CLOCK_PATHMUX[1]);</div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#gafc01eb6a064545ec9ca03444df01fe8d">cyhal_clock_set_source</a>(&amp;clock_path, &amp;<a class="code hl_variable" href="group__group__hal__impl__clock.html#gafa4836792bae2914a3d2b6297c18f61d">CYHAL_CLOCK_IMO</a>);</div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#ga00a4176391fe0e66d4665dde1919079d">cyhal_clock_set_enabled</a>(&amp;clock_path, <span class="keyword">true</span>, <span class="keyword">true</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Initialize the PLL[0] to source from the PathMux[0], and run at 48MHz</span></div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#ga6e284be927d4b576585846848a036f21">cyhal_clock_reserve</a>(&amp;clock_pll, &amp;CYHAL_CLOCK_PLL[0]);</div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#gafc01eb6a064545ec9ca03444df01fe8d">cyhal_clock_set_source</a>(&amp;clock_pll, &amp;clock_path);</div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#ga144e152ee4f10bdba0dcd036e3ef879c">cyhal_clock_set_frequency</a>(&amp;clock_pll, 48000000, NULL);</div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#ga00a4176391fe0e66d4665dde1919079d">cyhal_clock_set_enabled</a>(&amp;clock_pll, <span class="keyword">true</span>, <span class="keyword">true</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Initialize the HF[3] clock to source from the PLL[0], and run at 48MHz</span></div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#ga6e284be927d4b576585846848a036f21">cyhal_clock_reserve</a>(&amp;clock_hf, &amp;<a class="code hl_variable" href="group__group__hal__impl__clock.html#gaf4b09205667edc47ed28e48016b568b3">CYHAL_CLOCK_HF</a>[3]);</div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#gafc01eb6a064545ec9ca03444df01fe8d">cyhal_clock_set_source</a>(&amp;clock_hf, &amp;clock_pll);</div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__clock.html#ga6d21d11d37c8812cfafa9bf00e5a1bc7">cyhal_clock_set_divider</a>(&amp;clock_hf, 1);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Initialize the USB with the clock path that was just setup</span></div>
<div class="line">    rslt = <a class="code hl_function" href="group__group__hal__usb__dev__common.html#ga3fada34f2e7c54d8fae5def861f41083">cyhal_usb_dev_init</a>(&amp;usb_obj, <a class="code hl_enumvalue" href="group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble__usb.html#ggadb1b30ad8667ff98ff7c39046c4d0741a91f4d44fb984bb1c20f9a34af8015642">USBDP</a>, <a class="code hl_enumvalue" href="group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble__usb.html#ggadb1b30ad8667ff98ff7c39046c4d0741a4ce5d83730a8b57610cdffe18cd54eff">USBDM</a>, &amp;clock_hf);</div>
<div class="line"> </div>
<div class="ttc" id="agroup__group__hal__clock_html_ga00a4176391fe0e66d4665dde1919079d"><div class="ttname"><a href="group__group__hal__clock.html#ga00a4176391fe0e66d4665dde1919079d">cyhal_clock_set_enabled</a></div><div class="ttdeci">cy_rslt_t cyhal_clock_set_enabled(cyhal_clock_t *clock, bool enabled, bool wait_for_lock)</div><div class="ttdoc">Attempts to update the enablement of the specified clock.</div></div>
<div class="ttc" id="agroup__group__hal__clock_html_ga144e152ee4f10bdba0dcd036e3ef879c"><div class="ttname"><a href="group__group__hal__clock.html#ga144e152ee4f10bdba0dcd036e3ef879c">cyhal_clock_set_frequency</a></div><div class="ttdeci">cy_rslt_t cyhal_clock_set_frequency(cyhal_clock_t *clock, uint32_t hz, const cyhal_clock_tolerance_t *tolerance)</div><div class="ttdoc">Attempts to update the operating frequency of the clock.</div></div>
<div class="ttc" id="agroup__group__hal__clock_html_ga6d21d11d37c8812cfafa9bf00e5a1bc7"><div class="ttname"><a href="group__group__hal__clock.html#ga6d21d11d37c8812cfafa9bf00e5a1bc7">cyhal_clock_set_divider</a></div><div class="ttdeci">cy_rslt_t cyhal_clock_set_divider(cyhal_clock_t *clock, uint32_t divider)</div><div class="ttdoc">Attempts to update the divider, and by extension the operating frequency, of the clock.</div></div>
<div class="ttc" id="agroup__group__hal__clock_html_ga6e284be927d4b576585846848a036f21"><div class="ttname"><a href="group__group__hal__clock.html#ga6e284be927d4b576585846848a036f21">cyhal_clock_reserve</a></div><div class="ttdeci">cy_rslt_t cyhal_clock_reserve(cyhal_clock_t *clock, const cyhal_clock_t *clock_)</div><div class="ttdoc">Reserves the specified Clock instance.</div></div>
<div class="ttc" id="agroup__group__hal__clock_html_gafc01eb6a064545ec9ca03444df01fe8d"><div class="ttname"><a href="group__group__hal__clock.html#gafc01eb6a064545ec9ca03444df01fe8d">cyhal_clock_set_source</a></div><div class="ttdeci">cy_rslt_t cyhal_clock_set_source(cyhal_clock_t *clock, const cyhal_clock_t *source)</div><div class="ttdoc">Attempts to update the source for the specified clock.</div></div>
<div class="ttc" id="agroup__group__hal__impl__clock_html_gaf4b09205667edc47ed28e48016b568b3"><div class="ttname"><a href="group__group__hal__impl__clock.html#gaf4b09205667edc47ed28e48016b568b3">CYHAL_CLOCK_HF</a></div><div class="ttdeci">const cyhal_clock_t CYHAL_CLOCK_HF[SRSS_NUM_HFROOT]</div><div class="ttdoc">High Frequency Clock: A high-frequency clock output driving specific peripherals.</div></div>
<div class="ttc" id="agroup__group__hal__impl__clock_html_gafa4836792bae2914a3d2b6297c18f61d"><div class="ttname"><a href="group__group__hal__impl__clock.html#gafa4836792bae2914a3d2b6297c18f61d">CYHAL_CLOCK_IMO</a></div><div class="ttdeci">const cyhal_clock_t CYHAL_CLOCK_IMO</div><div class="ttdoc">Internal Main Oscillator: This is a fixed-frequency clock that is commonly used as a general purpose ...</div></div>
<div class="ttc" id="agroup__group__hal__impl__hw__types_html_structcyhal__clock__t"><div class="ttname"><a href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a></div><div class="ttdoc">Clock object Application code should not rely on the specific contents of this struct.</div><div class="ttdef"><b>Definition:</b> cyhal_hw_resources.h:575</div></div>
<div class="ttc" id="agroup__group__hal__impl__hw__types_html_structcyhal__usb__dev__t"><div class="ttname"><a href="group__group__hal__impl__hw__types.html#structcyhal__usb__dev__t">cyhal_usb_dev_t</a></div><div class="ttdoc">USB Device object.</div><div class="ttdef"><b>Definition:</b> cyhal_hw_types.h:1574</div></div>
<div class="ttc" id="agroup__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble__usb_html_ggadb1b30ad8667ff98ff7c39046c4d0741a4ce5d83730a8b57610cdffe18cd54eff"><div class="ttname"><a href="group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble__usb.html#ggadb1b30ad8667ff98ff7c39046c4d0741a4ce5d83730a8b57610cdffe18cd54eff">USBDM</a></div><div class="ttdeci">@ USBDM</div><div class="ttdoc">Port 14 Pin 1.</div><div class="ttdef"><b>Definition:</b> cyhal_psoc6_01_104_m_csp_ble_usb.h:137</div></div>
<div class="ttc" id="agroup__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble__usb_html_ggadb1b30ad8667ff98ff7c39046c4d0741a91f4d44fb984bb1c20f9a34af8015642"><div class="ttname"><a href="group__group__hal__impl__pin__package__psoc6__01__104__m__csp__ble__usb.html#ggadb1b30ad8667ff98ff7c39046c4d0741a91f4d44fb984bb1c20f9a34af8015642">USBDP</a></div><div class="ttdeci">@ USBDP</div><div class="ttdoc">Port 14 Pin 0.</div><div class="ttdef"><b>Definition:</b> cyhal_psoc6_01_104_m_csp_ble_usb.h:135</div></div>
<div class="ttc" id="agroup__group__hal__usb__dev__common_html_ga3fada34f2e7c54d8fae5def861f41083"><div class="ttname"><a href="group__group__hal__usb__dev__common.html#ga3fada34f2e7c54d8fae5def861f41083">cyhal_usb_dev_init</a></div><div class="ttdeci">cy_rslt_t cyhal_usb_dev_init(cyhal_usb_dev_t *obj, cyhal_gpio_t dp, cyhal_gpio_t dm, const cyhal_clock_t *clk)</div><div class="ttdoc">Initialize the USB instance.</div></div>
<div class="ttc" id="agroup__group__result_html_gaca79700fcc701534ce61778a9bcf57d1"><div class="ttname"><a href="group__group__result.html#gaca79700fcc701534ce61778a9bcf57d1">cy_rslt_t</a></div><div class="ttdeci">uint32_t cy_rslt_t</div><div class="ttdoc">Provides the result of an operation as a structured bitfield.</div><div class="ttdef"><b>Definition:</b> cy_result.h:438</div></div>
</div><!-- fragment --> </dd></dl>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="groups" name="groups"></a>
API Reference</h2></td></tr>
<tr class="memitem:group__group__hal__impl__clock__psoc6__01"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock__psoc6__01.html">PSoC™ 6S1 Clocks</a></td></tr>
<tr class="memdesc:group__group__hal__impl__clock__psoc6__01"><td class="mdescLeft">&#160;</td><td class="mdescRight"><b>PSoC™ 6S1 Clock Tree:</b> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hal__impl__clock__psoc6__02"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock__psoc6__02.html">PSoC™ 6S2 Clocks</a></td></tr>
<tr class="memdesc:group__group__hal__impl__clock__psoc6__02"><td class="mdescLeft">&#160;</td><td class="mdescRight"><b>PSoC™ 6S2 Clock Tree:</b> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hal__impl__clock__psoc6__03"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock__psoc6__03.html">PSoC™ 6S3 Clocks</a></td></tr>
<tr class="memdesc:group__group__hal__impl__clock__psoc6__03"><td class="mdescLeft">&#160;</td><td class="mdescRight"><b>PSoC™ 6S3 Clock Tree:</b> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hal__impl__clock__psoc6__04"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock__psoc6__04.html">PSoC™ 6S4 Clocks</a></td></tr>
<tr class="memdesc:group__group__hal__impl__clock__psoc6__04"><td class="mdescLeft">&#160;</td><td class="mdescRight"><b>PSoC™ 6S4 Clock Tree:</b> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hal__impl__clock__xmc7100"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock__xmc7100.html">XMC7100/T2G-B-H-4M Clocks</a></td></tr>
<tr class="memdesc:group__group__hal__impl__clock__xmc7100"><td class="mdescLeft">&#160;</td><td class="mdescRight"><b>XMC7100/T2G-B-H-4M Clock Tree:</b> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hal__impl__clock__xmc7200"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock__xmc7200.html">XMC7200/T2G-B-H-8M Clocks</a></td></tr>
<tr class="memdesc:group__group__hal__impl__clock__xmc7200"><td class="mdescLeft">&#160;</td><td class="mdescRight"><b>XMC7200/T2G-B-H-8M Clock Tree:</b> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gafa4836792bae2914a3d2b6297c18f61d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#gafa4836792bae2914a3d2b6297c18f61d">CYHAL_CLOCK_IMO</a></td></tr>
<tr class="memdesc:gafa4836792bae2914a3d2b6297c18f61d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal Main Oscillator: This is a fixed-frequency clock that is commonly used as a general purpose source for clocks that do not require specific frequencies or very high accuracy.  <a href="group__group__hal__impl__clock.html#gafa4836792bae2914a3d2b6297c18f61d">More...</a><br /></td></tr>
<tr class="separator:gafa4836792bae2914a3d2b6297c18f61d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7cf29e2a46f1ae3c82cd06a93aafb3a9"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga7cf29e2a46f1ae3c82cd06a93aafb3a9">CYHAL_CLOCK_RSC_IMO</a></td></tr>
<tr class="memdesc:ga7cf29e2a46f1ae3c82cd06a93aafb3a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal Main Oscillator: This is a fixed-frequency clock that is commonly used as a general purpose source for clocks that do not require specific frequencies or very high accuracy.  <a href="group__group__hal__impl__clock.html#ga7cf29e2a46f1ae3c82cd06a93aafb3a9">More...</a><br /></td></tr>
<tr class="separator:ga7cf29e2a46f1ae3c82cd06a93aafb3a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae65cbd0b69893c6a8b51abdf765db08d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#gae65cbd0b69893c6a8b51abdf765db08d">CYHAL_CLOCK_EXT</a></td></tr>
<tr class="memdesc:gae65cbd0b69893c6a8b51abdf765db08d"><td class="mdescLeft">&#160;</td><td class="mdescRight">External Clock: This is an off-chip clock (not an oscillator).  <a href="group__group__hal__impl__clock.html#gae65cbd0b69893c6a8b51abdf765db08d">More...</a><br /></td></tr>
<tr class="separator:gae65cbd0b69893c6a8b51abdf765db08d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08ce53989edcad9d0f61940592084c67"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga08ce53989edcad9d0f61940592084c67">CYHAL_CLOCK_RSC_EXT</a></td></tr>
<tr class="memdesc:ga08ce53989edcad9d0f61940592084c67"><td class="mdescLeft">&#160;</td><td class="mdescRight">External Clock: This is an off-chip clock (not an oscillator).  <a href="group__group__hal__impl__clock.html#ga08ce53989edcad9d0f61940592084c67">More...</a><br /></td></tr>
<tr class="separator:ga08ce53989edcad9d0f61940592084c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e3f6f443ef9d1e17db0e5de078440a4"><td class="memItemLeft" align="right" valign="top"><a id="ga1e3f6f443ef9d1e17db0e5de078440a4" name="ga1e3f6f443ef9d1e17db0e5de078440a4"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_ILO</b> [_CYHAL_SRSS_NUM_ILO]</td></tr>
<tr class="memdesc:ga1e3f6f443ef9d1e17db0e5de078440a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal Low Speed Oscillator: This is a low accuracy fixed-frequency clock in the kilohertz range that is available in sleep, deep sleep and hibernate power modes. <br /></td></tr>
<tr class="separator:ga1e3f6f443ef9d1e17db0e5de078440a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5d24704893d69e9c2090d374f251cd37"><td class="memItemLeft" align="right" valign="top"><a id="ga5d24704893d69e9c2090d374f251cd37" name="ga5d24704893d69e9c2090d374f251cd37"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_RSC_ILO</b> [_CYHAL_SRSS_NUM_ILO]</td></tr>
<tr class="memdesc:ga5d24704893d69e9c2090d374f251cd37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal Low Speed Oscillator: This is a low accuracy fixed-frequency clock in the kilohertz range that is available in sleep, deep sleep and hibernate power modes. <br /></td></tr>
<tr class="separator:ga5d24704893d69e9c2090d374f251cd37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c10f28ab8436da2dfa018d8e954d7ec"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga8c10f28ab8436da2dfa018d8e954d7ec">CYHAL_CLOCK_RSC_MFO</a></td></tr>
<tr class="memdesc:ga8c10f28ab8436da2dfa018d8e954d7ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Medium Frequency Oscillator: This source produced by dividing the IMO by 4.  <a href="group__group__hal__impl__clock.html#ga8c10f28ab8436da2dfa018d8e954d7ec">More...</a><br /></td></tr>
<tr class="separator:ga8c10f28ab8436da2dfa018d8e954d7ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9c549fc1e14cc954beea1e0e401c06b"><td class="memItemLeft" align="right" valign="top"><a id="gaa9c549fc1e14cc954beea1e0e401c06b" name="gaa9c549fc1e14cc954beea1e0e401c06b"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_LF</b></td></tr>
<tr class="memdesc:gaa9c549fc1e14cc954beea1e0e401c06b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Low Frequency Clock: This clock is the source for the multi-counter watchdog timers (MCWDT), and can also be a source for the RTC. <br /></td></tr>
<tr class="separator:gaa9c549fc1e14cc954beea1e0e401c06b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf41ad9bcad5895c4e7db1adc681eb367"><td class="memItemLeft" align="right" valign="top"><a id="gaf41ad9bcad5895c4e7db1adc681eb367" name="gaf41ad9bcad5895c4e7db1adc681eb367"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_RSC_LF</b></td></tr>
<tr class="memdesc:gaf41ad9bcad5895c4e7db1adc681eb367"><td class="mdescLeft">&#160;</td><td class="mdescRight">Low Frequency Clock: This clock is the source for the multi-counter watchdog timers (MCWDT), and can also be a source for the RTC. <br /></td></tr>
<tr class="separator:gaf41ad9bcad5895c4e7db1adc681eb367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga67ccfd4ee56eab6d4e5af96b8f16f022"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga67ccfd4ee56eab6d4e5af96b8f16f022">CYHAL_CLOCK_BAK</a></td></tr>
<tr class="memdesc:ga67ccfd4ee56eab6d4e5af96b8f16f022"><td class="mdescLeft">&#160;</td><td class="mdescRight">Backup Clock: This clock is available to the backup domain.  <a href="group__group__hal__impl__clock.html#ga67ccfd4ee56eab6d4e5af96b8f16f022">More...</a><br /></td></tr>
<tr class="separator:ga67ccfd4ee56eab6d4e5af96b8f16f022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98d7a224bae007464595768d95b8559d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga98d7a224bae007464595768d95b8559d">CYHAL_CLOCK_RSC_BAK</a></td></tr>
<tr class="memdesc:ga98d7a224bae007464595768d95b8559d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Backup Clock: This clock is available to the backup domain.  <a href="group__group__hal__impl__clock.html#ga98d7a224bae007464595768d95b8559d">More...</a><br /></td></tr>
<tr class="separator:ga98d7a224bae007464595768d95b8559d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab49154190c96980d30083dc14f67d17f"><td class="memItemLeft" align="right" valign="top"><a id="gab49154190c96980d30083dc14f67d17f" name="gab49154190c96980d30083dc14f67d17f"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_ALT_SYS_TICK</b></td></tr>
<tr class="memdesc:gab49154190c96980d30083dc14f67d17f"><td class="mdescLeft">&#160;</td><td class="mdescRight">AltSysTickClk: Provides an optional external source for the CM4/CM0+ SysTick timers. <br /></td></tr>
<tr class="separator:gab49154190c96980d30083dc14f67d17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47459709a41879a328c97f1284ea17d2"><td class="memItemLeft" align="right" valign="top"><a id="ga47459709a41879a328c97f1284ea17d2" name="ga47459709a41879a328c97f1284ea17d2"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_RSC_ALT_SYS_TICK</b></td></tr>
<tr class="memdesc:ga47459709a41879a328c97f1284ea17d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">AltSysTickClk: Provides an optional external source for the CM4/CM0+ SysTick timers. <br /></td></tr>
<tr class="separator:ga47459709a41879a328c97f1284ea17d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf539298b23f6996cb528d43b549f8c95"><td class="memItemLeft" align="right" valign="top"><a id="gaf539298b23f6996cb528d43b549f8c95" name="gaf539298b23f6996cb528d43b549f8c95"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_FAST</b></td></tr>
<tr class="memdesc:gaf539298b23f6996cb528d43b549f8c95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fast Clock: This clock is used for the CM4 and associated AHB-Lite bus infrastructure. <br /></td></tr>
<tr class="separator:gaf539298b23f6996cb528d43b549f8c95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5690b87ad8b4c91bcaa3ae98aaa17650"><td class="memItemLeft" align="right" valign="top"><a id="ga5690b87ad8b4c91bcaa3ae98aaa17650" name="ga5690b87ad8b4c91bcaa3ae98aaa17650"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_RSC_FAST</b></td></tr>
<tr class="memdesc:ga5690b87ad8b4c91bcaa3ae98aaa17650"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fast Clock: This clock is used for the CM4 and associated AHB-Lite bus infrastructure. <br /></td></tr>
<tr class="separator:ga5690b87ad8b4c91bcaa3ae98aaa17650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafcbe817ceabb458102e1a3feb09602b5"><td class="memItemLeft" align="right" valign="top"><a id="gafcbe817ceabb458102e1a3feb09602b5" name="gafcbe817ceabb458102e1a3feb09602b5"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_PERI</b></td></tr>
<tr class="memdesc:gafcbe817ceabb458102e1a3feb09602b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Peripheral Clock: This is the source clock for any divided clock in the design. <br /></td></tr>
<tr class="separator:gafcbe817ceabb458102e1a3feb09602b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5311f97690fc83c3bd82db9e90a9e568"><td class="memItemLeft" align="right" valign="top"><a id="ga5311f97690fc83c3bd82db9e90a9e568" name="ga5311f97690fc83c3bd82db9e90a9e568"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_RSC_PERI</b></td></tr>
<tr class="memdesc:ga5311f97690fc83c3bd82db9e90a9e568"><td class="mdescLeft">&#160;</td><td class="mdescRight">Peripheral Clock: This is the source clock for any divided clock in the design. <br /></td></tr>
<tr class="separator:ga5311f97690fc83c3bd82db9e90a9e568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga300fb26bf53addc944f83c76117a77c0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga300fb26bf53addc944f83c76117a77c0">CYHAL_CLOCK_TIMER</a></td></tr>
<tr class="memdesc:ga300fb26bf53addc944f83c76117a77c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer Clock: This clock is intended as a source for high-frequency timers, such as the Energy Profiler and CPU SysTick clock.  <a href="group__group__hal__impl__clock.html#ga300fb26bf53addc944f83c76117a77c0">More...</a><br /></td></tr>
<tr class="separator:ga300fb26bf53addc944f83c76117a77c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4420518cba1d3ca3e40d92263d0a8fc0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga4420518cba1d3ca3e40d92263d0a8fc0">CYHAL_CLOCK_RSC_TIMER</a></td></tr>
<tr class="memdesc:ga4420518cba1d3ca3e40d92263d0a8fc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer Clock: This clock is intended as a source for high-frequency timers, such as the Energy Profiler and CPU SysTick clock.  <a href="group__group__hal__impl__clock.html#ga4420518cba1d3ca3e40d92263d0a8fc0">More...</a><br /></td></tr>
<tr class="separator:ga4420518cba1d3ca3e40d92263d0a8fc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf91375873912ee8a41a7d4e603a45eb3"><td class="memItemLeft" align="right" valign="top"><a id="gaf91375873912ee8a41a7d4e603a45eb3" name="gaf91375873912ee8a41a7d4e603a45eb3"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_SLOW</b></td></tr>
<tr class="memdesc:gaf91375873912ee8a41a7d4e603a45eb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slow Clock: This clock is used for the CM0+ CPU, Datawire and CRYPTO components and the associated CPUSS slow infrastructure. <br /></td></tr>
<tr class="separator:gaf91375873912ee8a41a7d4e603a45eb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd612227985c168f6bc057a51e75f3b1"><td class="memItemLeft" align="right" valign="top"><a id="gabd612227985c168f6bc057a51e75f3b1" name="gabd612227985c168f6bc057a51e75f3b1"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_RSC_SLOW</b></td></tr>
<tr class="memdesc:gabd612227985c168f6bc057a51e75f3b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slow Clock: This clock is used for the CM0+ CPU, Datawire and CRYPTO components and the associated CPUSS slow infrastructure. <br /></td></tr>
<tr class="separator:gabd612227985c168f6bc057a51e75f3b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87e5cc2778c89671f4726bd9f7ddc72c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#ga87e5cc2778c89671f4726bd9f7ddc72c">CYHAL_CLOCK_FLL</a></td></tr>
<tr class="memdesc:ga87e5cc2778c89671f4726bd9f7ddc72c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frequency-Locked Loop: This is a high-frequency clock suitable for most on-chip purposes.  <a href="group__group__hal__impl__clock.html#ga87e5cc2778c89671f4726bd9f7ddc72c">More...</a><br /></td></tr>
<tr class="separator:ga87e5cc2778c89671f4726bd9f7ddc72c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabae928661e1c096f046223d1278d63b1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hal__impl__clock.html#gabae928661e1c096f046223d1278d63b1">CYHAL_CLOCK_RSC_FLL</a></td></tr>
<tr class="memdesc:gabae928661e1c096f046223d1278d63b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frequency-Locked Loop: This is a high-frequency clock suitable for most on-chip purposes.  <a href="group__group__hal__impl__clock.html#gabae928661e1c096f046223d1278d63b1">More...</a><br /></td></tr>
<tr class="separator:gabae928661e1c096f046223d1278d63b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4b09205667edc47ed28e48016b568b3"><td class="memItemLeft" align="right" valign="top"><a id="gaf4b09205667edc47ed28e48016b568b3" name="gaf4b09205667edc47ed28e48016b568b3"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_HF</b> [SRSS_NUM_HFROOT]</td></tr>
<tr class="memdesc:gaf4b09205667edc47ed28e48016b568b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">High Frequency Clock: A high-frequency clock output driving specific peripherals. <br /></td></tr>
<tr class="separator:gaf4b09205667edc47ed28e48016b568b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad23c8f42d356dd8d95cb13b463d5e6a7"><td class="memItemLeft" align="right" valign="top"><a id="gad23c8f42d356dd8d95cb13b463d5e6a7" name="gad23c8f42d356dd8d95cb13b463d5e6a7"></a>
const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>CYHAL_CLOCK_RSC_HF</b> [SRSS_NUM_HFROOT]</td></tr>
<tr class="memdesc:gad23c8f42d356dd8d95cb13b463d5e6a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">High Frequency Clock: A high-frequency clock output driving specific peripherals. <br /></td></tr>
<tr class="separator:gad23c8f42d356dd8d95cb13b463d5e6a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Variable Documentation</h2>
<a id="gafa4836792bae2914a3d2b6297c18f61d" name="gafa4836792bae2914a3d2b6297c18f61d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa4836792bae2914a3d2b6297c18f61d">&#9670;&nbsp;</a></span>CYHAL_CLOCK_IMO</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a> CYHAL_CLOCK_IMO</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Internal Main Oscillator: This is a fixed-frequency clock that is commonly used as a general purpose source for clocks that do not require specific frequencies or very high accuracy. </p>
<p >This clock is stopped in the deep sleep and hibernate power modes. </p>

</div>
</div>
<a id="ga7cf29e2a46f1ae3c82cd06a93aafb3a9" name="ga7cf29e2a46f1ae3c82cd06a93aafb3a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7cf29e2a46f1ae3c82cd06a93aafb3a9">&#9670;&nbsp;</a></span>CYHAL_CLOCK_RSC_IMO</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a> CYHAL_CLOCK_RSC_IMO</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Internal Main Oscillator: This is a fixed-frequency clock that is commonly used as a general purpose source for clocks that do not require specific frequencies or very high accuracy. </p>
<p >This clock is stopped in the deep sleep and hibernate power modes. </p>

</div>
</div>
<a id="gae65cbd0b69893c6a8b51abdf765db08d" name="gae65cbd0b69893c6a8b51abdf765db08d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae65cbd0b69893c6a8b51abdf765db08d">&#9670;&nbsp;</a></span>CYHAL_CLOCK_EXT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a> CYHAL_CLOCK_EXT</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>External Clock: This is an off-chip clock (not an oscillator). </p>
<p >This clock is stopped in the deep sleep and hibernate power modes. </p>

</div>
</div>
<a id="ga08ce53989edcad9d0f61940592084c67" name="ga08ce53989edcad9d0f61940592084c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga08ce53989edcad9d0f61940592084c67">&#9670;&nbsp;</a></span>CYHAL_CLOCK_RSC_EXT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a> CYHAL_CLOCK_RSC_EXT</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>External Clock: This is an off-chip clock (not an oscillator). </p>
<p >This clock is stopped in the deep sleep and hibernate power modes. </p>

</div>
</div>
<a id="ga8c10f28ab8436da2dfa018d8e954d7ec" name="ga8c10f28ab8436da2dfa018d8e954d7ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8c10f28ab8436da2dfa018d8e954d7ec">&#9670;&nbsp;</a></span>CYHAL_CLOCK_RSC_MFO</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a> CYHAL_CLOCK_RSC_MFO</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Medium Frequency Oscillator: This source produced by dividing the IMO by 4. </p>
<p >The MFO works down to DeepSleep, and the IMO does not turn off if this clock requires it. </p>

</div>
</div>
<a id="ga67ccfd4ee56eab6d4e5af96b8f16f022" name="ga67ccfd4ee56eab6d4e5af96b8f16f022"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga67ccfd4ee56eab6d4e5af96b8f16f022">&#9670;&nbsp;</a></span>CYHAL_CLOCK_BAK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a> CYHAL_CLOCK_BAK</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Backup Clock: This clock is available to the backup domain. </p>
<p >Typically useful if an external WCO is not available. </p>

</div>
</div>
<a id="ga98d7a224bae007464595768d95b8559d" name="ga98d7a224bae007464595768d95b8559d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga98d7a224bae007464595768d95b8559d">&#9670;&nbsp;</a></span>CYHAL_CLOCK_RSC_BAK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a> CYHAL_CLOCK_RSC_BAK</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Backup Clock: This clock is available to the backup domain. </p>
<p >Typically useful if an external WCO is not available. </p>

</div>
</div>
<a id="ga300fb26bf53addc944f83c76117a77c0" name="ga300fb26bf53addc944f83c76117a77c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga300fb26bf53addc944f83c76117a77c0">&#9670;&nbsp;</a></span>CYHAL_CLOCK_TIMER</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a> CYHAL_CLOCK_TIMER</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Timer Clock: This clock is intended as a source for high-frequency timers, such as the Energy Profiler and CPU SysTick clock. </p>
<p >This clock is stopped in the hibernate power mode. </p>

</div>
</div>
<a id="ga4420518cba1d3ca3e40d92263d0a8fc0" name="ga4420518cba1d3ca3e40d92263d0a8fc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4420518cba1d3ca3e40d92263d0a8fc0">&#9670;&nbsp;</a></span>CYHAL_CLOCK_RSC_TIMER</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a> CYHAL_CLOCK_RSC_TIMER</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Timer Clock: This clock is intended as a source for high-frequency timers, such as the Energy Profiler and CPU SysTick clock. </p>
<p >This clock is stopped in the hibernate power mode. </p>

</div>
</div>
<a id="ga87e5cc2778c89671f4726bd9f7ddc72c" name="ga87e5cc2778c89671f4726bd9f7ddc72c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga87e5cc2778c89671f4726bd9f7ddc72c">&#9670;&nbsp;</a></span>CYHAL_CLOCK_FLL</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__clock__t">cyhal_clock_t</a> CYHAL_CLOCK_FLL</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Frequency-Locked Loop: This is a high-frequency clock suitable for most on-chip purposes. </p>
<p >It is similar to a PLL, but starts up much faster and consumes less current. This clock is stopped in the deep sleep and hibernate power modes. </p>

</div>
</div>
<a id="gabae928661e1c096f046223d1278d63b1" name="gabae928661e1c096f046223d1278d63b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabae928661e1c096f046223d1278d63b1">&#9670;&nbsp;</a></span>CYHAL_CLOCK_RSC_FLL</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__group__hal__impl__hw__types.html#structcyhal__resource__inst__t">cyhal_resource_inst_t</a> CYHAL_CLOCK_RSC_FLL</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Frequency-Locked Loop: This is a high-frequency clock suitable for most on-chip purposes. </p>
<p >It is similar to a PLL, but starts up much faster and consumes less current. This clock is stopped in the deep sleep and hibernate power modes. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Hardware Abstraction Layer (HAL)</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
